package com.winning.pmph.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.winning.pmph.entity.ExerciseEntry;
import com.winning.pmph.entity.Journal;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
@CacheNamespace(flushInterval = 60 * 60 * 1000)
public interface ExerciseEntryMapper extends BaseMapper<ExerciseEntry> {

    Page<ExerciseEntry> selectPage(@Param("page") Page<ExerciseEntry> page, @Param("exerciseEntry") ExerciseEntry exerciseEntry);

}
